<%@page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="x" uri="/soar-bx-tags"%>
<x:HeaderParts modal="false"/>
<x:MainPartsTag modal="false">
<x:zone name="MainZone">
<x:Form action="basedata/companyInfo.shtml">
<x:ParamsParts>
<x:TextField name="compCode" type="hidden" value="map.COMP_CODE"></x:TextField>
</x:ParamsParts>
<x:DataViewParts>
<x:TabPages pageNames="新增企业备案">
<x:TabPage>
<x:PanelBody>

	<tr>
		<td>企业名称</td><td><x:TextField value="map.COMP_NAME" name="compCode" maxLen="255" isMust="1"/></td>
		<td>企业类型</td><td><x:SelectField name="compType" dataList="companyTypeList" refvalue="FMAINALTAS" emptyName="请选择企业类型"/></td>
		<td>是否月结</td>
		<td>
			<select name="isYj">
				<option value="1" <s:if test="map.IS_YJ == \"1\"">selected="selected"</s:if>>是</option>
				<option value="0" <s:if test="map.IS_YJ == \"0\"">selected="selected"</s:if>>否</option>
			</select>
		</td>
	
	</tr>
	
	<tr>
		<td>联   系  人</td><td><x:TextField value="map.LINK_PERSON" name="linkPerson" maxLen="60" isMust="1"/></td>
		<td>联系电话</td><td><x:TextField value="map.LINK_PHONE" name="linkPhone" maxLen="60" isMust="1"/></td>
		<td>备案状态</td><td><x:SelectField dataList="" refvalue="map.RECORD_STATUS" name="recordStatus" isMust="1" emptyName="请选择备案状态"/></td>
		<td>
			<select name="recordStatus">
				<option value="0" <s:if test="map.RECORD_STATUS == \"0\"">selected="selected"</s:if>>尚未备案</option>
				<option value="1" <s:if test="map.RECORD_STATUS == \"1\"">selected="selected"</s:if>>已备案</option>
				<option value="2" <s:if test="map.RECORD_STATUS == \"2\"">selected="selected"</s:if>>冻结</option>
				<option value="3" <s:if test="map.RECORD_STATUS == \"3\"">selected="selected"</s:if>>注销</option>
			</select>
		</td>
	</tr>
	
	<tr>
		<td>企业地址</td><td colspan="5"><x:TextField value="map.COMP_ADDRESS" name="compAddress" maxLen="255" isMust="1"/></td>
	</tr>
	
</x:PanelBody>
</x:TabPage>
</x:TabPages>
</x:DataViewParts>
<x:PanelFooter>
<x:ButtonsParts>
	<input type="button" class="btn btn-info btn-sm" value="保存" onclick="confirm()" />
	<x:Button onclick="doClose()" value="返回" role="default" size="sm"></x:Button>	
</x:ButtonsParts>
</x:PanelFooter>
<x:JsParts fn="doClose,confirm">
   function doClose()
   {
      X.SubmitBack();
   }
   function confirm()
   {
		X.Submit('doSave');
   }
</x:JsParts>
</x:Form>
</x:zone>
</x:MainPartsTag>
